all: test_cpp
  
clean:  
	rm -f test_cpp *.o  
  
test_cpp: person.pb.cc test.cc  
	g++ -Iinclude person.pb.cc test.cc -o test_cpp  -Llib -lprotobuf -lpthread  

test_c: person.pb-c.c test.c  
	gcc -Iinclude person.pb-c.c test.c -o test_c  -Llib -lprotobuf-c -lpthread 


